Skip to content

Commit fa004fb

Browse files
Shima DastgheibShima Dastgheib
Shima Dastgheib
authored and
Shima Dastgheib
committed
added ESLint files
1 parent 0409085 commit fa004fb

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

.editorconfig

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
8+
[*]
9+
10+
# Change these settings to your own preference
11+
indent_style = space
12+
indent_size = 2
13+
14+
# We recommend you to keep these unchanged
15+
end_of_line = lf
16+
charset = utf-8
17+
trim_trailing_whitespace = true
18+
insert_final_newline = true
19+
20+
[*.md]
21+
trim_trailing_whitespace = false

.eslintignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules/**/*
2+
dist/**/*
3+
scripts/analytics/google.js
4+
scripts/plugins/*
5+
scripts/ace/themes/theme-atom_dark.js

.eslintrc.js

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = {
2+
extends: 'google',
3+
quotes: [2, 'single'],
4+
globals: {
5+
SwaggerEditor: false
6+
},
7+
env: {
8+
browser: true
9+
}
10+
};

0 commit comments

Comments
 (0)