Navigation Menu

Skip to content

Commit

Permalink
chore: prettier eslint versionup (#253)
Browse files Browse the repository at this point in the history
* chore: apply prettier

* chore: update tslint config
  • Loading branch information
한정 committed Jan 23, 2020
1 parent 770c6ea commit a29c474
Show file tree
Hide file tree
Showing 258 changed files with 56,272 additions and 53,332 deletions.
39 changes: 21 additions & 18 deletions .eslintrc.js
@@ -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 }
}
]
}
};
4 changes: 4 additions & 0 deletions .prettierrc
@@ -0,0 +1,4 @@
{
"printWidth": 100,
"singleQuote": true
}

0 comments on commit a29c474

Please sign in to comment.