Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: prettier eslint versionup (#253)
* chore: apply prettier * chore: update tslint config
- Loading branch information
한정
committed
Jan 23, 2020
1 parent
770c6ea
commit a29c474
Showing
258 changed files
with
56,272 additions
and
53,332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,27 @@ | ||
module.exports = { | ||
'extends': 'tui/es6', | ||
'parserOptions': { | ||
"sourceType": "module" | ||
extends: ['tui/es6', 'plugin:prettier/recommended'], | ||
plugins: ['prettier'], | ||
parserOptions: { | ||
sourceType: 'module' | ||
}, | ||
'env': { | ||
'browser': true, | ||
'amd': true, | ||
'node': true, | ||
'es6': true, | ||
'jasmine': true, | ||
'jquery': true, | ||
'commonjs': true | ||
env: { | ||
browser: true, | ||
amd: true, | ||
node: true, | ||
es6: true, | ||
jasmine: true, | ||
jquery: true, | ||
commonjs: true | ||
}, | ||
'globals': { | ||
'tui': true | ||
globals: { | ||
tui: true | ||
}, | ||
'rules': { | ||
'indent': [2, 4, {SwitchCase: 1, ignoreComments: false, ImportDeclaration: 1, flatTernaryExpressions: false}], | ||
'prefer-destructuring': ['error', { | ||
VariableDeclarator: {array: true, object: true} | ||
}] | ||
rules: { | ||
'prefer-destructuring': [ | ||
'error', | ||
{ | ||
VariableDeclarator: { array: true, object: true } | ||
} | ||
] | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"printWidth": 100, | ||
"singleQuote": true | ||
} |
Oops, something went wrong.